﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace VoliaStat
{
  class IconAndNumber
    {
        public Icon icon;
        public int persent;
        public IconAndNumber(string N)
        {

            persent = 0;
            try
            {
                persent = int.Parse(N);
            }
            catch{}
            string path = "VoliaStat.icons.volia"+N+".ico";
            icon = new Icon( this.GetType().Assembly.GetManifestResourceStream(path));
        }
    }
}
